package com.intretech.umsin;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

/**
 * Hello world!
 *
 */
@Slf4j
@SpringBootApplication

public class App {

    public static void main(String[] args) {
        ApplicationContext ctx = SpringApplication.run(App.class, args);
        log.info("初始化spring bean个数：{}.", ctx.getBeanDefinitionCount());
        for (String beanDefinitionName : ctx.getBeanDefinitionNames()) {
            log.info("初始化spring bean：{}.", beanDefinitionName);
        }
    }


}
